package com.stormrage.edu.serv.edu;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.stormrage.entity.edu.EduVideo;
import com.stormrage.entity.edu.rep.EduVideoRep;
import com.stormrage.entity.edu.req.EduVideoReq;
import com.stormrage.entity.rep.ListRep;
import com.stormragetech.core.entity.UploadVideoRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface EduVideoServ {

	public Integer create(EduVideo arg0) throws StormrageTechException;

	public void update(EduVideo arg0) throws StormrageTechException;

	public void updateVideo(EduVideo arg0) throws StormrageTechException;

	public void updateThumb(EduVideo arg0) throws StormrageTechException;

	public void delete(Integer arg0) throws StormrageTechException;

	public Integer queryCount(EduVideoReq arg0) throws StormrageTechException;

	public EduVideo queryById(Integer arg0) throws StormrageTechException;

	public ListRep queryList(Integer arg0, EduVideoReq arg1) throws StormrageTechException;

	public ListRep queryList(EduVideoReq arg0) throws StormrageTechException;

	public List<EduVideo> queryListById(Integer arg0) throws StormrageTechException;

	public List<EduVideo> queryListByMajorId(Integer arg0) throws StormrageTechException;

	public List<EduVideoRep> queryRepListById(Integer arg0) throws StormrageTechException;

	public UploadVideoRep upload(MultipartFile file, String path) throws StormrageTechException;

	public UploadVideoRep upload(String fileName, String path) throws StormrageTechException;

	public void editThumb(Integer arg0, Integer time, String path) throws StormrageTechException;

}
